/**
 * 
 */
package com.sci.web.bean;

/**
 * @author  BaiFuyou
 * @date: Sep 26, 2011 4:40:29 PM
 * 
 * 用户注册时使用（包括企业单独注册和省厅分配的账号）
 */
public class UserRegister {
	
	private int id;
	/**
	 * 用户的名称
	 */
	private String user_name;
	/**
	 * 用户的密码
	 */
	private String user_pwd;
	/**
	 * 用户的电邮
	 */
	private String user_email;
	/**
	 * 用户的角色（最高权限-1，没有角色默认值0，其他的按照分配取得）
	 */
	private int user_role;
	/**
	 * 用户所在的城市（详细见moudel.txt文件）
	 */
	private int user_city;
	/**
	 * 具体负责人（如果是指定的科技厅用户信息）
	 */
	private String user_incharge;
	/**
	 * 负责人职位（如果是指定的科技厅用户信息）
	 */
	private String user_position;
	/**
	 * 负责人的联系电话
	 */
	private String user_moblie_phone;
	/**
	 * 负责人的固话
	 */
	private String user_phone;
	/**
	 *  审核状态（不知道具体是干什么的）
	 */
	private int user_state;
	/**
	 * 用户是否是企业用户还是科技厅用户
	 */
	private int user_is_enterprise;
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the user_name
	 */
	public String getUser_name() {
		return user_name;
	}
	/**
	 * @param user_name the user_name to set
	 */
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	/**
	 * @return the user_pwd
	 */
	public String getUser_pwd() {
		return user_pwd;
	}
	/**
	 * @param user_pwd the user_pwd to set
	 */
	public void setUser_pwd(String user_pwd) {
		this.user_pwd = user_pwd;
	}
	/**
	 * @return the user_email
	 */
	public String getUser_email() {
		return user_email;
	}
	/**
	 * @param user_email the user_email to set
	 */
	public void setUser_email(String user_email) {
		this.user_email = user_email;
	}
	/**
	 * @return the user_role
	 */
	public int getUser_role() {
		return user_role;
	}
	/**
	 * @param user_role the user_role to set
	 */
	public void setUser_role(int user_role) {
		this.user_role = user_role;
	}
	/**
	 * @return the user_city
	 */
	public int getUser_city() {
		return user_city;
	}
	/**
	 * @param user_city the user_city to set
	 */
	public void setUser_city(int user_city) {
		this.user_city = user_city;
	}
	/**
	 * @return the user_incharge
	 */
	public String getUser_incharge() {
		return user_incharge;
	}
	/**
	 * @param user_incharge the user_incharge to set
	 */
	public void setUser_incharge(String user_incharge) {
		this.user_incharge = user_incharge;
	}
	/**
	 * @return the user_position
	 */
	public String getUser_position() {
		return user_position;
	}
	/**
	 * @param user_position the user_position to set
	 */
	public void setUser_position(String user_position) {
		this.user_position = user_position;
	}
	/**
	 * @return the user_moblie_phone
	 */
	public String getUser_moblie_phone() {
		return user_moblie_phone;
	}
	/**
	 * @param user_moblie_phone the user_moblie_phone to set
	 */
	public void setUser_moblie_phone(String user_moblie_phone) {
		this.user_moblie_phone = user_moblie_phone;
	}
	/**
	 * @return the user_phone
	 */
	public String getUser_phone() {
		return user_phone;
	}
	/**
	 * @param user_phone the user_phone to set
	 */
	public void setUser_phone(String user_phone) {
		this.user_phone = user_phone;
	}
	/**
	 * @return the user_state
	 */
	public int getUser_state() {
		return user_state;
	}
	/**
	 * @param user_state the user_state to set
	 */
	public void setUser_state(int user_state) {
		this.user_state = user_state;
	}
	
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return this.user_name+"=name  "+user_email+"=email  pwd="+user_pwd;
	}
	/**
	 * @return the user_is_enterprise
	 */
	public int getUser_is_enterprise() {
		return user_is_enterprise;
	}
	/**
	 * @param user_is_enterprise the user_is_enterprise to set
	 */
	public void setUser_is_enterprise(int user_is_enterprise) {
		this.user_is_enterprise = user_is_enterprise;
	}
}
